
package at.jku.ce.services.impl;

/**
 * Please modify this class to meet your needs
 * This class is not complete
 */

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

/**
 * This class was generated by Apache CXF 2.3.7
 * 2012-01-23T13:47:45.662+01:00
 * Generated source version: 2.3.7
 * 
 */
public final class OrderServiceImpl_OrderServiceImplPort_Client {

    private static final QName SERVICE_NAME = new QName("http://impl.services.ce.jku.at/", "OrderServiceImplService");

    private OrderServiceImpl_OrderServiceImplPort_Client() {
    }

    public static void main(String args[]) throws java.lang.Exception {
        URL wsdlURL = OrderServiceImplService.WSDL_LOCATION;
        if (args.length > 0) { 
            File wsdlFile = new File(args[0]);
            try {
                if (wsdlFile.exists()) {
                    wsdlURL = wsdlFile.toURI().toURL();
                } else {
                    wsdlURL = new URL(args[0]);
                }
            } catch (MalformedURLException e) {
                e.printStackTrace();
            }
        }
      
        OrderServiceImplService ss = new OrderServiceImplService(wsdlURL, SERVICE_NAME);
        OrderServiceImpl port = ss.getOrderServiceImplPort();  
        
        {
        System.out.println("Invoking order...");
        int _order_arg0 = -1849204279;
        java.lang.String _order_arg1 = "_order_arg1-702162603";
        java.lang.String _order_arg2 = "_order_arg2-56572878";
        java.lang.String _order_arg3 = "_order_arg3-1143660591";
        java.lang.Double _order_arg4 = Double.valueOf(0.638820114988984);
        int _order__return = port.order(_order_arg0, _order_arg1, _order_arg2, _order_arg3, _order_arg4);
        System.out.println("order.result=" + _order__return);


        }
        {
        System.out.println("Invoking deleteOrder...");
        int _deleteOrder_arg0 = 1630553570;
        port.deleteOrder(_deleteOrder_arg0);


        }

        System.exit(0);
    }

}
